package com.helin.helinhealth.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Map;

/**
 * 数据导出响应DTO
 */
@Data
@Schema(description = "数据导出响应")
public class ExportResponse {
    
    /**
     * 任务ID
     */
    @Schema(description = "导出任务ID")
    private Long taskId;
    
    /**
     * 任务状态(0-处理中, 1-已完成, 2-失败)
     */
    @Schema(description = "任务状态(0-处理中, 1-已完成, 2-失败)")
    private Integer status;
    
    /**
     * 下载URL
     */
    @Schema(description = "文件下载URL，任务完成后可用")
    private String downloadUrl;
    
    /**
     * 额外数据
     */
    @Schema(description = "额外数据，可用于返回任务相关的其他信息")
    private Map<String, Object> data;
    
    // 手动添加getter和setter方法
    public Long getTaskId() {
        return taskId;
    }
    
    public void setTaskId(Long taskId) {
        this.taskId = taskId;
    }
    
    public Integer getStatus() {
        return status;
    }
    
    public void setStatus(Integer status) {
        this.status = status;
    }
    
    public String getDownloadUrl() {
        return downloadUrl;
    }
    
    public void setDownloadUrl(String downloadUrl) {
        this.downloadUrl = downloadUrl;
    }
    
    public Map<String, Object> getData() {
        return data;
    }
    
    public void setData(Map<String, Object> data) {
        this.data = data;
    }
} 